package lib.self.utils;

import android.os.Environment;

/**
 * description: 缓存工具类
 * author: Steven Xiao
 * date: 2017/4/27
 */
abstract public class CacheUtilEx {
    protected final String TAG = getClass().getSimpleName();

    protected static final String KJpgExtend = ".jpg";

    private static String sSdcardPath;

    static {
        sSdcardPath = Environment.getExternalStorageDirectory().toString();
    }

    protected static void ensureFileExist(String filePath) {
        FileUtil.ensureFileExist(filePath);
    }

    public static String getSdcardPath() {
        return sSdcardPath;
    }
}
